import request from "@/router/axios";

/**
 * 文件流返回
 * @param url 接口地址
 */
export const exportBlob = (url) => {
  return request({
    url: url,
    method: 'get',
    responseType: 'blob'
  })
}

// 证件类型
export const getCardTypeList = (params) => {
  return request({
    url: "/admin/user/regInformation/cardtype",
    method: "get",
    params: params,
  });
};

// 行政区

export const getAreasList = (params) => {
  return request({
    url: "/admin/common/areas",
    method: "post",
    params: params,
  });
};